projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f610fbf
)
font chooser: Properly include freetype headers
author
Leonardo Taccari
<iamleot@gmail.com>
Fri, 9 Nov 2018 21:13:30 +0000
(22:13 +0100)
committer
Leonardo Taccari
<iamleot@gmail.com>
Fri, 9 Nov 2018 21:13:30 +0000
(22:13 +0100)
freetype headers should be included via <ft2build.h> and then
indirectly via FT_*_H macros.
Fixes issue #1432.
gtk/gtkfontchooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfontchooserwidget.c
b/gtk/gtkfontchooserwidget.c
index 1b1be3d9a21c4bae8109a30ce91371c57eed63ed..9fac247a9fa50030485c4c123209c5cccf502229 100644
(file)
--- a/
gtk/gtkfontchooserwidget.c
+++ b/
gtk/gtkfontchooserwidget.c
@@
-61,8
+61,9
@@
#include <hb.h>
#include <hb-ot.h>
#include <hb-ft.h>
-#include <freetype/freetype.h>
-#include <freetype/ftmm.h>
+#include <ft2build.h>
+#include FT_FREETYPE_H
+#include FT_MULTIPLE_MASTERS_H
#include "language-names.h"
#include "script-names.h"
#endif